package com.hu.tool;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;


@SpringBootApplication
public class ToolApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(ToolApplication.class, args);
        System.out.println(run);
        System.out.println("ヾ(◍°∇°◍)ﾉﾞ    Hutool项目启动成功");

//        File file = FileUtil.file("E:/work.txt");
//        WatchMonitor.createAll(file, new SimpleWatcher(){
//            @Override
//            public void onModify(WatchEvent<?> event, Path currentPath) {
//                Console.log("刚刚操作了work.txt文件");
//            }
//        }).start();
    }

}
